package com.atguigu.gmall.task;/**
 * @author TaiXiaoDong on 2023/3/24.
 * @version 1.0
 */

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 10270



 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient
@ComponentScan(basePackages = "com.atguigu.gmall")
/**
 用不到远程调用

*/
//@EnableFeignClients(basePackages = "com.atguigu.gmall")
public class ServiceTaskApplication {
    public static void main(String[] args) {

        SpringApplication.run(ServiceTaskApplication.class,args);
    }
}
